package cn.dengta.webapp.trade.entity;

import cn.dengta.webapp.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 男用户推荐分值统计
 *
 * @author zw
 * @since 2022-10-09
 */
@Setter
@Getter
@Accessors(chain = true)
@TableName("dt_male_recommend_statistics")
public class MaleRecommendStatistics extends BaseEntity {

	/** 登录分值 */
	Integer login;
	/** 回复率分值 */
	Integer replyRate;
	/** 点赞 */
	Integer dig;
	/** 打赏 */
	Integer donate;

	public static final String LOGIN = "login";
	public static final String REPLY_RATE = "reply_rate";
	public static final String DIG = "dig";
	public static final String DONATE = "donate";

	public static MaleRecommendStatistics of(Long userId) {
		final MaleRecommendStatistics maleRecommendStatistics = new MaleRecommendStatistics();
		maleRecommendStatistics.setId(userId);
		return maleRecommendStatistics;
	}

}
